<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<script>
  const obj = { name: 'allen' };

  function say(param1, param2) {
    console.log(param1, param2, this.name);
  }

  say.call(obj, 'man', 27);
  say.apply(obj, ['man', 27]);
</script>
</body>
</html>
